import request from '@/utils/request'

// 查询学生表4列表
export function listStudent4(query) {
  return request({
    url: '/system/student4/list',
    method: 'get',
    params: query
  })
}

// 查询学生表4详细
export function getStudent4(id) {
  return request({
    url: '/system/student4/' + id,
    method: 'get'
  })
}

// 新增学生表4
export function addStudent4(data) {
  return request({
    url: '/system/student4',
    method: 'post',
    data: data
  })
}

// 修改学生表4
export function updateStudent4(data) {
  return request({
    url: '/system/student4',
    method: 'put',
    data: data
  })
}

// 删除学生表4
export function delStudent4(id) {
  return request({
    url: '/system/student4/' + id,
    method: 'delete'
  })
}
